#include<bits/stdc++.h>
#define ___ "-------------------------------\n"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const ll maxn = 100000 + 5;

class Solution {
public:
    bool checkDistances(string s, vector<int>& distance) {
        int n = s.length();
        vector<int> judge(26, -1);
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < 26; j++) {
                if (s[i] - 'a' != j && judge[j] != -1) {
                    judge[j]++;
                }
                else if (s[i] - 'a' == j && judge[j] != -1 && distance[j] != judge[j]) {
                    return false;
                }
                else if (s[i] - 'a' == j && judge[j] == -1) {
                    judge[j] = 0;
                }
            }
        }
        return true;
    }
};

int main(){
//    ios::sync_with_stdio(false);
//    ifstream cin("data.txt");
//    freopen("data.txt", "r", stdin);
    return 0;
}

